import request from '@/utils/request'
export default {

  /**
   * 查询内容
   * @param queryParam
   */
  queryPaymentData(queryParam) {
    return request({
      url: '/sys_payment/query',
      method: 'post',
      data: {
        ...queryParam
      }
    })
  },

  updatePaymentMode(data) {
    return request({
      url: '/sys_payment/update',
      method: 'post',
      data
    })
  },

  addPaymentMode(data) {
    return request({
      url: '/sys_payment/add',
      method: 'post',
      data
    })
  },
  /**
   * 删除
   */
  deletePaymentMode(data) {
    return request({
      url: '/sys_payment/',
      method: 'delete',
      data
    })
  }
}
